package cn.com.dhcc.turbo.entity.registry;

import java.util.Date;

import cn.com.dhcc.app.core.annotation.SiColumn;
import cn.com.dhcc.app.core.annotation.SiTable;
import cn.com.dhcc.app.core.base.ModuleFeatureBean;

/**
 * 监控指标设置表turbo_monitor_quota_conf
 * 
 * @日期：2014-6-12 下午2:55:13
 * @作者：张洪涛
 * @版权所有：东华软件
 * @版本：1.0
 */
@SiTable(name = "turbo_monitor_quota_conf")
public class MonitorQuotaConf extends ModuleFeatureBean {
	@SiColumn(isId=true)
	private String id;
	@SiColumn(name = "quota_id")
	private String quotaId;
	@SiColumn(name = "rule_sn")
	private String ruleSn;
	private String value1;
	private String value2;
	private Date mtime;// 修改时间
	private String remark;// 备注
	@SiColumn(name = "alter_template")
	private String alterTemplate;// 默认的告警模板
	@SiColumn(name = "alter_pipeline")
	private String alterPipeline;// 告警通知规则（多个逗号隔开）：1 邮件通知管理员 2 邮件通知系统管理员 3 告警音.

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getQuotaId() {
		return quotaId;
	}

	public void setQuotaId(String quotaId) {
		this.quotaId = quotaId;
	}

	public String getRuleSn() {
		return ruleSn;
	}

	public void setRuleSn(String ruleSn) {
		this.ruleSn = ruleSn;
	}

	public String getValue1() {
		return value1;
	}

	public void setValue1(String value1) {
		this.value1 = value1;
	}

	public String getValue2() {
		return value2;
	}

	public void setValue2(String value2) {
		this.value2 = value2;
	}

	public Date getMtime() {
		return mtime;
	}

	public void setMtime(Date mtime) {
		this.mtime = mtime;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}


	public String getAlterTemplate() {
		return alterTemplate;
	}

	public void setAlterTemplate(String alterTemplate) {
		this.alterTemplate = alterTemplate;
	}

	public String getAlterPipeline() {
		return alterPipeline;
	}

	public void setAlterPipeline(String alterPipeline) {
		this.alterPipeline = alterPipeline;
	}

	@Override
	public String toString() {
		return "MonitorQuotaConf [id=" + id + ", quotaId=" + quotaId
				+ ", ruleSn=" + ruleSn + ", value1=" + value1 + ", value2="
				+ value2 + ", mtime=" + mtime + ", remark=" + remark
				+ ", alterTemplate=" + alterTemplate + ", alterPipeline="
				+ alterPipeline + "]";
	}
}
